const fs = require('fs');
const path = require('path');
exports.getMime = function (extname) {
    const data = fs.readFileSync(path.join(__dirname, "mime.json"));
    const Mime = JSON.parse(data.toString());
    return Mime[extname] || "text/html"
};

